package com.example.zuoye.service;

import com.example.zuoye.entity.Good;

import java.util.List;

public interface GoodService {
    public Good selectGoodInfoByNameAndIntroduce(String good_name, String good_introduce);

    public Good selectGoodInfoByName(String good_name);

    public List<Good> selectGoodInfo();

    public int insertGoodInfo(String good_name,String good_introduce,String good_price,String good_date,Integer good_number,String good_image);

    public int deleteGoodInfoByNameAndIntroduce(String good_name, String good_introduce);

    public int deleteGoodInfoById(Integer good_id);

    public int updateGoodInfoById(Integer good_id,String good_name,String good_introduce,String good_price,String good_date,Integer good_number,String good_image);
}
